<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>{{title}}</title>
     {% include "include/head.html" %}
</head>
<body>
    <h2>{{title}}</h2>
    <div>
        <form class="form-horizontal" role="form" method="post" action="/addData">
            <div class="form-group">
                <label for="entriesName" class="col-sm-2 control-label">name:</label>
                <div class="col-sm-10">
                   <input type="text" id="entriesName" class="form-control" name="name" placeholder="name"/>
                </div>
            </div>

              <div class="form-group">
                <label for="entriesprice" class="col-sm-2 control-label">price:</label>
                <div class="col-sm-10">
                   <input type="text" id="entriesprice" class="form-control" name="price" placeholder="price"/>
                </div>
            </div>

            <div class="form-group">
                <label for="entriesbookCount" class="col-sm-2 control-label">bookCount:</label>
                <div class="col-sm-10">
                   <input type="text" id="entriesbookCount" class="form-control" name="bookCount" placeholder="bookCount"/>
                </div>
            </div>

            <div class="form-group">
                <label for="entriesbookauthor" class="col-sm-2 control-label">author:</label>
                <div class="col-sm-10">
                   <input type="text" id="entriesbookauthor" class="form-control" name="author" placeholder="author"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">add</button>
                </div>
            </div>
            {% module xsrf_form_html() %}

        </form>
    </div>
    <script data-main="{{ static_url(WEB_RRESOURCE_DIR +'/js/home.js') }}" src="{{ static_url(WEB_RRESOURCE_DIR +'/js/require.min.js') }}" type="text/javascript"></script>
    </body>
</html>
